using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebUpdaterAdminCore.Models
{
    public class OKResult<T> : BaseResult where T: class
    {
        public OKResult(T obj) : base(0, "OK")
        {
            Data = obj;
        }
        public OKResult() :base(0,"OK")
        {

        }

        public  T Data { get; set; }
    }


    public class OKResult : BaseResult
    {
        public OKResult() : base(0, "OK")
        {

        }
    }
}
